package com.game.modular.gameCore.drawCards.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * (CoreDraw)表实体类
 *
 * @author cxy
 * @since 2024-08-07 16:22:01
 */
@ApiModel("$tableInfo.comment")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("serial")
public class CoreDraw extends Model<CoreDraw> {// swagger2,mybatis-plus
    ///////////////////////////////////////////////////////////////////////////////////////////////////////// 生成实体字段
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("卡池类型")
    private Integer type;
    
    @ApiModelProperty("稀有度")
    private Integer lv;
    
    @ApiModelProperty("对应的卡池id ")
    private Long pool;
    
    @ApiModelProperty("权重")
    private Long weight;
    
    ///////////////////////////////////////////////////////////////////////////////////////////////////////// 序列化版本号
    @TableField(exist = false)
    private static final long serialVersionUID = 933173965998568789L;

    @TableField(exist = false)
    private CoreDrawPool coreDrawPool;
    /////////////////////////////////////////////////////////////////////////////////////////////////////////// 获取主键值
}

